<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/searchform.css">
<link rel="stylesheet" href="statics/css/ExportBusiness/tpl/newupoffer.css">
<link rel="stylesheet" href="statics/css/BasicData/tpl/newupproduct.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header layui-bg-cyan">
            <span>产品合并</span>
        </div>
        <div class="layui-card-body">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <form class="layui-form" action="" lay-filter="editor-form" id="editor-form">
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">产品主信息</li>
                                <li class="">日志</li>
                            </ul>
                            <div class="layui-tab-content">
                                <div class="layui-tab-item layui-show">
                                        <div class="layui-form-item zdy-item-css">
                                            <div class="layui-inline">
                                                <label class="layui-form-label xb_required">产品编码</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="code" id="code" lay-verify="required" disabled="disabled" autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label xb_required">中文名称</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="chinaName" lay-verify="required" disabled="disabled" autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item zdy-item-css">
                                            <div class="layui-inline">
                                                <label class="layui-form-label xb_required">英文名称</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="englishName" lay-verify="required" disabled="disabled" autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label xb_required">海关编码</label>
                                                <div class="layui-input-inline">
                                                    <select name="hgCode" id="hgCode" lay-verify="required" lay-filter="hgCodeFilter" disabled="disabled" lay-search="">
                                                    </select>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="layui-form-item zdy-item-css">
                                            <div class="layui-inline">
                                                <label class="layui-form-label">增值税率</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="vatRate" lay-verify="number" disabled="disabled" autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label">退税率</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="taxRate" lay-verify="number" disabled="disabled" autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                        </div>

                                        <div class="layui-form-item zdy-item-css">
                                            <div class="layui-inline">
                                                <label class="layui-form-label">关税税率</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="importTariff" lay-verify="required" disabled="disabled" autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label">客户货号</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="customerCode" disabled="disabled"  autocomplete="off" class="layui-input">
                                                </div>
                                            </div>
                                        </div>

                                    <div class="layui-form-item zdy-item-css">
                                        <div class="layui-inline">
                                            <label class="layui-form-label">所属目录</label>
                                            <div class="layui-input-inline" >
                                                <div id="directory" class="xm-select-demo"></div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="layui-form-item zdy-item-css tj_div">
                                        <div class="layui-inline" id="imgId">
                                            <label class="layui-form-label">图片</label>
                                            <i class="layui-icon layui-icon-add-circle" style="font-size: 30px; color: #000000;line-height: 30px;" id="newimg"></i>
                                            <div class="layui-input-inline" id="addimgdiv"></div>
                                        </div>
                                        <div class="layui-inline" id="annexId">
                                            <label class="layui-form-label">附件</label>
                                            <i class="layui-icon layui-icon-add-circle" style="font-size: 30px; color: #000000;line-height: 30px;" id="newfile"></i>
                                            <div class="layui-input-inline" id="addfilediv"></div>
                                        </div>
                                    </div>
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">备注</label>
                                            <div class="layui-input-block" style="margin-left: 125px;">
                                                <textarea name="remark" placeholder="请输入内容" class="layui-textarea"></textarea>
                                            </div>
                                        </div>
                                    </div>

                                    <div  class="layui-tab-item">
                                        <table class="layui-table" id="infoselect" lay-filter="infotable"></table>
                                    </div>
                            </div>
                        </div>
                        <table class="layui-table" id="productselect" lay-filter="producttable"></table>
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">产品规格配件</li>
                                <li class="">供应商</li>
                                <li class="">产品箱规</li>
                            </ul>
                            <div class="layui-tab-content">
                                <div class="layui-tab-item layui-show">
                                    <table class="layui-table" id="productsaselect" lay-filter="productsatable"></table>
                                </div>
                                <div  class="layui-tab-item">
                                    <table class="layui-table" id="asupplierselect" lay-filter="asuppliertable"></table>
                                </div>
                                <div  class="layui-tab-item">
                                    <table class="layui-table" id="boxGaugeSelect" lay-filter="boxGaugeTable"></table>
                                </div>
                            </div>
                        </div>
                        <%--底部按钮--%>
                        <div class="padding text-right">
                            <button type="button" class="layui-btn layui-btn-normal" lay-submit  lay-filter="form-save">提交</button>
                            <a type="button" class="layui-btn layui-btn-primary" id="shutdown">关闭</a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/BasicData/tpl/newProductMarge.js"></script>